package durst.data;

import com.sdicons.json.mapper.JSONMapper;

import durst.data.json.InvitedEventJSONHelper;

public class InvitedEvent extends Event {
	private boolean jumplisted;
	private Event event; 

	static {
		JSONMapper.addHelper(new InvitedEventJSONHelper());
	}
	
	public InvitedEvent(Event e, boolean jump) {
		jumplisted = jump;
		event = e;
	}
	
	public boolean isInvited() {
		return true;
	}
	
	public boolean isJumplisted() {
		return jumplisted;
	}
	
	public int getId() {
		return event.getId();
	}
	
	public Event getEvent() {
		return event;
	}
}
